package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.Praise;
import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;


public interface IQuestionService {

    void saveOrUpdate(Question entity);

    PageInfo query(QueryObject qo);

    Map<String,Object> selectByPrimaryKey(Long questionId);

    void updateBrowseNumber(Long questionId);

    Boolean queryIsLike(Praise obj);

    void saveDailyIsLike(Praise obj);

    void deleteDailyIsLike(Praise obj);
}
